module.exports = {
  lintOnSave: false, // 关闭eslint语法检查，十分重要的配置！！！
  chainWebpack: config => {
    config.plugin('copy')
      .use(require('copy-webpack-plugin'),
        [
          {
            patterns: [
              {
                from: 'node_modules/libpag/lib/libpag.wasm',
                to: 'libpag.wasm',
              }
            ]
          }
        ]);
    config.resolve.alias
      .set('@', '/src');
  }
}